package com.js.gate.server;

import com.js.auth.client.EnableJsAuthClient;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author ygl
 * @create 2018-10-26
 * @DESCRIPTION
 **/
@EnableJsAuthClient
@EnableSwagger2Doc
@EnableDiscoveryClient
@EnableZuulProxy
@EnableFeignClients({"com.js.auth.client.feign","com.js.gate.server.feign"})
@SpringBootApplication
public class JsGateApplication {

    public static void main(String[] args) {
        SpringApplication.run(JsGateApplication.class, args);
    }
}
